package com.wfcm.service;

import com.wfcm.entity.WfCourseInfoEntity;

import java.util.List;
import java.util.Map;

/**
 * 课程信息
 * 
 * @author xlf
 * @email xlfbe696@gmail.com
 * @date 2018-01-22 19:07:11
 */
public interface WfCourseInfoService {
	
	WfCourseInfoEntity queryObject(Integer id);
	
	WfCourseInfoEntity queryObjectById(Integer id);
	
	//我的课程-查询简要信息
	public WfCourseInfoEntity querySimpleObject(Integer id);
	
	List<WfCourseInfoEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(WfCourseInfoEntity wfCourseInfo);
	
	void update(WfCourseInfoEntity wfCourseInfo);
	
	void delete(Integer id);
	
	void deleteBatch(Integer[] ids);
	
	public List<WfCourseInfoEntity> querySearchList(Map<String, Object> map);
	
	public List<WfCourseInfoEntity> queryCategoryList(Map<String, Object> map);

	public WfCourseInfoEntity queryObjectIgnoreStatus(Integer id);

	List<WfCourseInfoEntity> recommend();

	String queryCourseLabel(Integer type, Integer foreignId);
}
